package com.guoranhao.admin.constants;

public class ApiConstants {
		//token
		public static final String TOKEN = "token";
		//登录绑定参数
		public static final String LOGIN_BINDING = "loginBinding";
		//配置文件路径
		public static final String RESOURCES_PATH = "account.properties";
		//渠道
		public static final String CHANNEL = "channel";
		//Android,IOS,Html5
		public static final String PLATFORM_NO = "platformNo";
		//版本号
		public static final String VERSION = "version";
		//手机型号
		public static final String DEVICEMODEL = "deviceModel";
		//android,iphone,ipad,html
		public static final String DEVICETYPE = "deviceType";
		//移动用户识别码
		public static final String IMSI = "imsi";
		//移动设备识别码
		public static final String IMEI = "imei";
		//经度
		public static final String LONGITUDE = "longitude";
		//纬度
		public static final String LATITUDE = "latitude";
		//请求头
		public static final String X_FORWARDED_FOR = "x-forwarded-for";
		//请求头
		public static final String UNKNOWN = "unknown";
		//请求头
		public static final String PROXY_CLIENT_IP = "Proxy-Client-IP";
		//请求头
		public static final String WL_PROXY_CLIENT_IP = "WL-Proxy-Client-IP";
		//请求头
		public static final String HTTP_CLIENT_IP = "HTTP_CLIENT_IP";
		//请求头
		public static final String HTTP_X_FORWARDED_FOR = "HTTP_X_FORWARDED_FOR";
		//验证码 验证次数
		public static final String IS_SMS_CODE_VALID = "isSmsCodeValid";
		//登录验证 验证次数
		public static final String LOGIN_IS_SMS_CODE_VALID = "loginIsSmsCodeValid";
		//通用的异常code
		public static final String COMMON_EXCEPTION_ERROR_CODE = "500";
		//通用的异常消息
		public static final String COMMON_EXCEPTION_ERROR_MSG = "系统异常，请稍后重试";
		
		//参数非法的code及提示消息
		public static final String COMMON_PARAMETER_INVALID_CODE = "501";
		public static final String COMMON_PARAMETER_INVALID_MSG = "参数非法，请检查参数";
		
		//添加，修改及删除成功通用code
		public static final String COMMON_ADD_SUCCESS_CODE = "100";
		public static final String COMMON_EDIT_SUCCESS_CODE = "101";
		public static final String COMMON_DELETE_SUCCESS_CODE = "102";
		//新建，修改及删除成功提示消息
		public static final String COMMON_ADD_SUCCESS_MSG = "数据添加成功";
		public static final String COMMON_EDIT_SUCCESS_MSG = "数据修改成功";
		public static final String COMMON_DELETE_SUCCESS_MSG = "数据删除成功";

		//请求头
		public static final String HTTP_HEADER_USER_AGENT = "User-Agent";
		
		
}
